package com.xinjian.base.config;

import lombok.Data;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 项目配置
 *
 * @author yyb
 * @create 2018-12-19-20:25
 */
@Data
@ConfigurationProperties(prefix = "xinjian")
@Component
public class Config {

    /*netty端口*/
    private Integer nettyPort;
    /*上传本地路径*/
    private String uploadLocalPath;
    /*上传图片后缀*/
    private String uploadPictureSuffix;
    /*上传小图片*/
    private String uploadSmallPictur;
    /*生成二维码内容*/
    private String qrcodeContent;
    /*二维码前缀*/
    private String qrcodePrefix;
    /*二维码后缀*/
    private String qrcodeSuffix;

    private Config() {
    }


}
